package com.data2wisdom.comm.vo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.google.gson.Gson;
/**
 * 页面传输查询对象
 * @author jackey
 *
 */
public class OneSearchVO implements Serializable{
	private static final long serialVersionUID = 2375979330722727543L;
	
    private String keyword;
    
    private int keyword_id;
    /**
     * 针对二次检索，也可以放在keyword中
     */
    private String searchText;
    /**
     * 开始页号
     */
    private int startPage = 1;
    /**
     * 总页数
     */
    private int totalPage;
    /**
     * 检索耗时
     */
    private String searchTime;
    /**
     * 总记录数
     */
    private int count;
    
    /**
     * json data
     * @return
     */
    private String jsonData;
    
    private Integer isTwiceSearch;
    
    private Integer isAdvancedSearch;
    
    private String advancedSearchText;
    
    
    /**
     * 以下参数用于个人空间搜索向后台传递参数
     */
    /**
     * 开始时间
     */
    private String startTime;
    /**
     * 结束时间
     */
    private String endTime;
    /**
     * 搜索标题
     */
    private String searchTitle;
    
    /**
     * 搜索属性列表  可能是一个 也可能是多个
     */
    private String itemArray;
    /**
     * 首页前台查询参数类型
     */
    private Integer searchParamType = 0;
    /**
     * 左侧选择某一种类别的名称 (二级分类)
     */
    private String level;
    
    private int pageSize = 5;
    
    private String firstLevel;
    /**
     * 分类的类别：功效 归经 药性 
     */
    private Integer levelType;
    /**
     * 中药统计
     */
    private String terms;
    
    private String docId;
    /**
     * 一条中药信息
     */
    private String tcm;
    /**
     * 统计类别： functions-功效  tropism-归经  
     */
    private String stasticsType;
    /**
     * 症状大的分类
     */
    private Integer bigType = 0;
    
	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public int getStartPage() {
		return startPage;
	}

	public void setStartPage(int startPage) {
		this.startPage = startPage;
	}

	public String getSearchText() {
		return searchText;
	}

	public void setSearchText(String searchText) {
		this.searchText = searchText;
	}

	public int getKeyword_id() {
		return keyword_id;
	}

	public void setKeyword_id(int keyword_id) {
		this.keyword_id = keyword_id;
	}

	public String getSearchTime() {
		return searchTime;
	}

	public void setSearchTime(String searchTime) {
		this.searchTime = searchTime;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public String getJsonData() {
		return jsonData;
	}

	public void setJsonData(String jsonData) {
		this.jsonData = jsonData;
	}

	public int getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}

	public Integer getIsTwiceSearch() {
		return isTwiceSearch;
	}

	public void setIsTwiceSearch(Integer isTwiceSearch) {
		this.isTwiceSearch = isTwiceSearch;
	}

	public Integer getIsAdvancedSearch() {
		return isAdvancedSearch;
	}

	public void setIsAdvancedSearch(Integer isAdvancedSearch) {
		this.isAdvancedSearch = isAdvancedSearch;
	}

	public String getAdvancedSearchText() {
		return advancedSearchText;
	}

	public void setAdvancedSearchText(String advancedSearchText) {
		this.advancedSearchText = advancedSearchText;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getSearchTitle() {
		return searchTitle;
	}

	public void setSearchTitle(String searchTitle) {
		this.searchTitle = searchTitle;
	}
	
	public String getItemArray() {
		return itemArray;
	}

	public void setItemArray(String itemArray) {
		this.itemArray = itemArray;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getSearchParamType() {
		return searchParamType;
	}

	public void setSearchParamType(Integer searchParamType) {
		this.searchParamType = searchParamType;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getFirstLevel() {
		return firstLevel;
	}

	public void setFirstLevel(String firstLevel) {
		this.firstLevel = firstLevel;
	}

	public Integer getLevelType() {
		return levelType;
	}

	public void setLevelType(Integer levelType) {
		this.levelType = levelType;
	}

	public String getTerms() {
		return terms;
	}

	public void setTerms(String terms) {
		this.terms = terms;
	}

	public String getDocId() {
		return docId;
	}

	public void setDocId(String docId) {
		this.docId = docId;
	}

	public String getTcm() {
		return tcm;
	}

	public void setTcm(String tcm) {
		this.tcm = tcm;
	}

	public String getStasticsType() {
		return stasticsType;
	}

	public void setStasticsType(String stasticsType) {
		this.stasticsType = stasticsType;
	}

	public Integer getBigType() {
		return bigType;
	}

	public void setBigType(Integer bigType) {
		this.bigType = bigType;
	}
}
